#!/usr/bin/env node

const log = console.log;

log('CPU architecture:',process.arch);
log('OS:',process.platform);

log('\npid:',process.pid);
log();

const stdin = process.stdin;

stdin.on('data',()=>{
    
});

stdin.on('end',()=>{
  log('bye');
});



log('\nnode.js  ver:', process.version);
log('login username:',process.getuid());
log('user group:',process.getgid());
log('nwd:',process.cwd());

//log(`rss:        ${process.memoryUsage().rss}`);
  

log('\nenv:', process.env);
log('\nenv:', process.env.USER);




//console.log('hello',' world');


